<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<h1>Hello World</h1>
<p>达内鸿蒙开发</p>
<button>打开相册</button>
<button>拍照</button>
<br>
<button onclick="selfOpen()">获取图片</button>
<img src="https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png" alt=""/>

<script>
    function selfOpen() {

        objName.objKey(2)
    }
</script>
</body>
</html>